

// 整合文章接口信息
export class postsItem {
  constructor (postObj) {
    this.publishedTime = postObj.publishedTime.split('T')[0]
    this.postId = postObj.id
    this.summary = postObj.summary
    this.title = postObj.title
    this.viewCount = postObj.viewCount
    this.imgUrl = postObj.thumbnail
    this.commentCount = postObj.commentCount
  }
}